//
//  ZPDetailTableViewCell.m
//  u76ho
//
//  Created by m-air-01 on 16/1/6.
//  Copyright © 2016年 LV. All rights reserved.
//

#import "ZPDetailTableViewCell.h"

@implementation ZPDetailTableViewCell

- (void)awakeFromNib {
    // Initialization code
}
-(void)setModel:(ZPDetailModel *)model
{
    _model = model;
//    NSMutableAttributedString *str = [[NSMutableAttributedString alloc] initWithString:@"Using NSAttributed String"];
//    [str addAttribute:NSForegroundColorAttributeName value:[UIColor blueColor] range:NSMakeRange(0,5)];
//    [str addAttribute:NSForegroundColorAttributeName value:[UIColor redColor] range:NSMakeRange(6,12)];
//    [str addAttribute:NSForegroundColorAttributeName value:[UIColor greenColor] range:NSMakeRange(19,6)];
//    [str addAttribute:NSFontAttributeName value:[UIFont fontWithName:@"Arial-BoldItalicMT" size:30.0] range:NSMakeRange(0, 5)];
//    [str addAttribute:NSFontAttributeName value:[UIFont fontWithName:@"HelveticaNeue-Bold" size:30.0] range:NSMakeRange(6, 12)];
//    [str addAttribute:NSFontAttributeName value:[UIFont fontWithName:@"Courier-BoldOblique" size:30.0] range:NSMakeRange(19, 6)];
//    attrLabel.attributedText = str;
//    NSMutableAttributedString *str = [[NSMutableAttributedString alloc] initWithString:[NSString stringWithFormat:@"【%@】",model.salary]];
//    [str addAttribute:NSForegroundColorAttributeName value:[UIColor redColor] range:NSMakeRange(model.dutyname.length, str.length-model.dutyname.length)];
    
    _firstLab.text = model.salary;
    _addressLab.text = model.address;
    _workyearLab.text = model.years;
    _educationLab.text = model.education;
    _zhuangtaiLab.text = model.person;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
